package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 网点邀请码设置表，加入企业邀请码
 * </p>
 *
 * @author WEN
 * @since 2024-03-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjNetworkInviteCodeSet对象", description="网点邀请码设置表，加入企业邀请码")
public class ZjNetworkInviteCodeSet implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商家ID/主健ID")
    private Long id;

    @ApiModelProperty(value = "邀请码有效期，最少一天")
    private Integer expirtTime;

    @ApiModelProperty(value = "是否开启非超管邀请：0-否，1-是")
    @TableField("is_enable_not_super_manager_invite")
    private Boolean enableNotSuperManagerInvite;

    @ApiModelProperty(value = "是否开启邀请审核：0-否，1-是")
    @TableField("is_enable_invite_check")
    private Boolean enableInviteCheck;

    @ApiModelProperty(value = "邀请方式：1-邀请码，2-短信邀请")
    private Integer inviteType;

    @ApiModelProperty(value = "邀请码")
    private String inviteCode;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;


}
